package com.mssh.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mssh.entity.table.SysResource;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 熳殊沙华
 * @Date: 2022/07/24/22:56
 * @Description:
 */
@Mapper
public interface SysResourcesMapper extends BaseMapper<SysResource> {

    /**
     * 根据用户id查询资源菜单
     * @param uid
     * @return
     */
    List<SysResource> findResourceByUserId(long uid);

}
